package com.haier.bims.frozenbox.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.haier.common.AbstractBean;

@XmlRootElement(name="frozenboxs")
public class FrozenboxList extends AbstractBean {

	private static final long serialVersionUID = -7960256477356412478L;
	
	private List<Frozenbox> frozenbox = null ;
	
	private Integer count ;
	
	public FrozenboxList(){
		
	}
	
	public FrozenboxList( List<Frozenbox> frozenbox ){
		this.frozenbox = frozenbox ;
		this.count = this.frozenbox.size();
	}

	@XmlElement(name="frozenbox")
	public List<Frozenbox> getFrozenbox() {
		return frozenbox;
	}

	public void setFrozenbox(List<Frozenbox> frozenbox) {
		this.frozenbox = frozenbox;
		this.count = this.frozenbox.size();
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}
